﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Membership.aspx.cs" Inherits="WebApplication1.Stata.Membership" %>

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<!--[if IE 6]>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="../st/css/css.css" />
<link rel="stylesheet" type="text/css" href="../st/css/shoppingcart/card.css" />
<title>登录</title>
</head>
<body>
    <form id="form1" runat="server">
<div class="page-bg-inner"></div>
<div class="page-inner">
<div id="header" class="header">
<div class="toolbar">
<dl>
<!--未登录-->
<dt>您好，欢迎您来到会员系统！</dt>
<dt class="sign">[<a href="#">请登录</a>]</dt>
<dt class="sign">[<a href="#">免费注册</a>]</dt>
<!--登录-->
<dt>您好，</dt>
<dt><span>ye****g</span>！</dt>
<dt class="sign">[<a href="#">退出</a>]</dt>
<!--右侧-->

</dl>
</div>
</div>
<div id="content" class="content">
<div class="steps step2"><ul><li class="step3">首页</li><li class="step3">登录</li><li class="step3">课程表</li><li class="step3">网上商城</li></ul></div>
<div class="shopping-message">
<div class="message-border">
<div class="message attention">
    <asp:Label ID="Label2" runat="server" Text="用户名："></asp:Label>
    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>&nbsp;&nbsp;<span id="checkName" style="color:Red; display:none">登录名不能为空</span>
    <br />
    <asp:Label ID="Label1" runat="server" Text="密   码："></asp:Label>
&nbsp;
    <asp:TextBox ID="txtPass" runat="server"></asp:TextBox>&nbsp;&nbsp;<span id="checkPass" style="color:Red; display:none">密码不能为空</span>
    <br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button1" runat="server" Text="登录" OnClientClick="return check()" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button2" runat="server" Text="注册" />
    </div>
</div>
</div>
<div class="ad">
<a href="#"><img alt="" style="width:950px; height:600px" src="../st/img/b3f6cea259ba36eccbefd0b4.jpg" /></a>
</div>
</div>  
</div>
<input id="J_tracker_id" type="hidden" value="wallet" />
<input id="J_tracker_url" type="hidden" value="logger.sdo.com" />
<input id="J_tracker_pagetitle" type="hidden" value="商城首页-购物车-买家待确认有货" />
<!--[if IE 6]>
<script type="text/javascript" src="st/lib/DD_belatedPNG/png.js"></script>
<![endif]-->
<script type="text/javascript" src="../st/lib/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../st/lib/tracker/SDOTracker.js"></script>
<script type="text/javascript" src="../st/js/js.js"></script>
<script type="text/javascript" src="../st/js/shoppingcart/card-step4.js"></script>
<script type="text/javascript">
    function check() {
        $("#checkName").hide();
        $("#checkPass").hide();
     if ($("#<%=txtName.ClientID %>").val().replace(/(^[\s\u3000]*)|([\s\u3000]*$)/g, "") == "") {
         $("#checkName").show();
         return false;
     }
     else {
         $("#checkName").hide();
     }
     if ($("#<%=txtPass.ClientID %>").val().replace(/(^[\s\u3000]*)|([\s\u3000]*$)/g, "") == "") {
         $("#checkPass").show();
         return false;
     }
     else {
         $("#checkPass").hide();
     }
     return true;
}</script>
    </form>
</body>
</html>


